/*
Theme Name: Bastien Theme

Author: Antoine Debacque
Author URI: http://antoinedebacque.fr
D'après WP twentytwelve

*/

/* reset style css 
	http://meyerweb.com/eric/tools/css/reset/ 
	v2.0 | 20110126
	License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	/* font: inherit; */
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
} 

img {
	max-width:100% !important;
	height: auto;
}

/* fin du reset */
/*police + color
very dark grey : 2d2b2b
dark grey : 423f3f
blue grey aside menu : 668089
dark dark grey for aside top menu : 292929
brun bottom menu : a29683
blue article: 046c8e
bleu article hover: 00afe8
*/




/* head */

body
{
padding: 30px 10px;
max-width: 1280px;
margin:auto;
position: relative;
}

header#masthead
{
margin-bottom :7.563em;
display: block;
}

#masthead  hgroup
{
width:14em;
height : auto;
border-right : 2px solid #423f3f;
padding: 0 8px 0 0;
display: inline-block;
}

#masthead  hgroup .site-title a
{
color: #2d2b2b;
text-decoration:none;
font-size: 2.313em;
font-family: calibri, arial, sans-serif;
font-weight: bold;
text-align: right;
}

#masthead  hgroup h1.site-title 
{
text-align: right;
vertical-align: middle;
}


#masthead  hgroup .site-description
{
color: #423f3f;
font-size: 1.406em;
font-family: calibri, arial, sans-serif;
font-weight: bold;
text-align: right;
vertical-align: middle;
}

#header-left
{
display: inline-block;
width: 13.750em;
}

li#text-2, li#text-2 div.textwidget
{
display:inline-block;
}

li#text-2 div.textwidget p
{
color: #423f3f;
font-size: 1.028em;
font-family: calibri, arial, sans-serif;
font-weight: bold;
text-align: left;
vertical-align: middle;
margin-left:8px;
}

li#text-2 div.textwidget p a
{
color: #2d2b2b;
font-size: 1.028em;
font-family: calibri, arial, sans-serif;
font-weight: bold;
text-align: left;
vertical-align: middle;
text-decoration: underline;
line-height:1.4em;
}

#header-right
{
display: inline-block;
position : absolute;
right:100px;
width: 80px;
}


#header-right li, #header-right div, #header-right form
{
display: inline-block;
}

#header-right label
{
color: rgb(87, 86, 86);
font-size: 1em;
font-family: calibri, arial, sans-serif;
font-weight: lighter;
text-align: left;
vertical-align: middle;
}
 
 #header-right input
{
color: rgb(87, 86, 86);
font-size: 1em;
font-family: calibri, arial, sans-serif;
font-weight: bold;
text-align: left;
vertical-align: middle;
cursor: pointer;
}
 
/* fin de head */

/* aside */

#sidebar_menutop_et_bottom
{
display: inline-block;
margin-right: 7.45em;
}

/*menu-top*/
nav.main-navigation
{
margin-left: 0.438em;
display: block;
}

nav.main-navigation ul li
{
margin: 20px 0;
}

nav.main-navigation ul li a
{
color: #668089;
font-size: 1.1em;
font-family: calibri, arial, sans-serif;
font-weight: normal;
text-transform: uppercase;
text-decoration: none;
text-align: left;
vertical-align: middle;
padding-right:30px;
padding-left: 9px;
padding-top: 10px;
padding-bottom: 10px;
}
 
nav.main-navigation ul li a:hover
{
background-color: #D4E0E4;
-webkit-transition:  2s ;
-moz-transition:  2s ;
-ms-transition:2s ;
-o-transition: 2s ;
transition: 2s ;
}

/*menu bottom*/


div#secondary.widget-area
{
vertical-align: top;
}

aside#nav_menu-2
{
margin-top: 0.750em;
margin-left: 0.438em;
display: inline-block;
}


aside#nav_menu-2 h3
{
display:none;
}



aside#nav_menu-2 ul li
{
margin: 20px 0;
}

aside#nav_menu-2  ul li a
{
color: #668089;
font-size: 1.1em;
font-family: calibri, arial, sans-serif;
font-weight: normal;
text-transform: uppercase;
text-decoration: none;
text-align: left;
vertical-align: middle;
padding-right:30px;
padding-left: 9px;
padding-top: 2px;
padding-bottom: 2px;
}
 
aside#nav_menu-2 ul li#menu-item-43 a
{
color: #a29683;
font-size: 1.1em;
}
aside#nav_menu-2 ul li#menu-item-43 a:hover{
background-color: #F5F1EC;
-webkit-transition:  2s ;
-moz-transition:  2s ;
-ms-transition:2s ;
-o-transition: 2s ;
transition: 2s ;
}


aside#nav_menu-2 ul li#menu-item-43 ul
{
display: none;
}
 
aside#nav_menu-2 ul li a:hover
{
background-color: #D4E0E4;
-webkit-transition:  2s ;
-moz-transition:  2s ;
-ms-transition:2s ;
-o-transition: 2s ;
transition: 2s ;
}

/* fin aside */
/* content */
div#primary.site-content h2, div#primary.site-content h3,div#primary.site-content p{
font-family: calibri, arial, sans-serif;
}

div#primary.site-content h2{
	font-size:1.6em;
}

div#primary.site-content h3{
	font-size:1.4em;
}

div#primary.site-content
{
display: inline-block;
vertical-align: top;
width: 60%;
position: relative;
opacity: 0;	
bottom: 700px;
}


article
{
margin-bottom: 48px;
}
.category-liste_vignettes header.entry-header h1.entry-title
{line-height: 22px;}

.category-liste_vignettes header.entry-header h1.entry-title a
{
color: #ffffff;
font-size: 0.5em !important;
font-family: calibri, arial, sans-serif;
font-weight: normal;
text-decoration: none;
text-align: left;
vertical-align: middle;
background-color: #046c8e;
margin:0;
padding: 7px;
padding-right: 32px;
}

.category-liste_vignettes header.entry-header h1.entry-title a:hover
{
background-color: #00afe8;
}


header.entry-header h1.entry-title
{
max-width:70%;
margin-bottom : 16px;
}


div.entry-content :first-child iframe
{
margin-top : -13px;
color: red !important;

}




article div.entry-content p
{
font-family: calibri, arial, sans-serif;
font-size: 1em;
line-height: 1.4em;
margin: 1em 0;
}

div.sharedaddy div.sd-block
{
margin-top : 30px !important;
border-top: 1px solid #046c8e !important;
text-align: right;
display: inline-block;
margin-left: 0px !important;

}

div.sharedaddy
{
width: 70% !important;
margin-left: 230px;
}

div.sharedaddy .sd-content {
width: 100% !important;
}


div.sharedaddy h3
{
width: 37.625% !important;
}

div.sharedaddy .sd-content  ul li 
{
margin:0 3px !important;
}

div.sharedaddy .sd-content  ul li a
{
background: none !important;
border: none ! important;
}
/* content */

footer.entry-meta
{
text-align: right;
font-family: calibri, arial, sans-serif;
font-size: 0.75em;
color: #046c8e;
}

footer.entry-meta .comments-link
{
display: inline-block;
margin-right: 5px;
}

footer.entry-meta a
{
text-decoration: none;
color: #046c8e;
}

footer.entry-meta a .leave-reply
{
font-size:100%;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-decoration: none;
color: #000;
opacity:0.8; 
}


footer.entry-meta a:hover
{
text-decoration: underline;
}

footer.entry-meta a :hover.leave-reply
{
opacity:1; 
color: #046c8e;
}

#picto_comment
{
height:14px;
}




/*image à la une */
body.home.blog img.attachment-post-thumbnail
{
display:none;
}

/*dans une page categorie  .category-liste_vignettes */
body.home div#page #main.wrapper section#primary.site-content,
body.category div#page #main.wrapper section#primary.site-content
{
display: inline-block;
width: 60%;
vertical-align: top;
}
body.home div#page #main.wrapper section#primary.site-content article.category-liste_vignettes .entry-content,
body.category div#page #main.wrapper section#primary.site-content article.category-liste_vignettes .entry-content
{
display:none;
}
body.home div#page #main.wrapper section#primary.site-content article.category-liste_vignettes .entry-meta,
body.category div#page #main.wrapper section#primary.site-content article.category-liste_vignettes .entry-meta
{
display:none;
}
body.home div#page article.category-liste_vignettes,
body.category div#page article.category-liste_vignettes
{
margin-bottom: 20px;
float:left;
margin: 10px 0 10px 20px;
height: 0;
background-color: #046c8e;
min-width: 150px;
 opacity: 0.2;
}

/*pagination en mode vignette*/
body.home div#page nav#nav-below.navigation,
body.category div#page nav#nav-below.navigation
{
float: none;
width: 95%;
display: inline-block;
margin-top: 10px;
}

body.home div#page article.category-liste_vignettes .entry-header .attachment-post-thumbnail,
body.category div#page article.category-liste_vignettes .entry-header .attachment-post-thumbnail
{
width:150px;
height:auto;
vertical-align: bottom;
}
body.home div#page article.category-liste_vignettes .entry-header, 
body.category div#page article.category-liste_vignettes .entry-header 
{
position: relative;
background-color: #00afe8;
}
body.home div#page article.category-liste_vignettes h1,
body.category div#page article.category-liste_vignettes h1
{
padding: 0;
min-width: 150px;
background-color: #046c8e;
max-width:100%;
margin: 0;
text-align:center;
min-height:48px;
position: absolute;
bottom: 0;
}

body.home div#page article.category-liste_vignettes h1 a,
body.category div#page article.category-liste_vignettes h1 a
{
text-transform: uppercase;
font-size: 0.8em;
line-height: 1em;
padding:0;
margin:0;
}

.category-liste_vignettes .cat_hover_title_hover
{
font-size: 1.1em !important;
text-align: center !important;
display: inline-block;
vertical-align: middle
}

.category-liste_vignettes .h1_cat_hover_title_hover
{
min-height: 132px !important;
top: 34%;
position: absolute;
line-height: 132px;
}

.category-liste_vignettes .header_cat_hover_title_hover
{
margin-bottom: 0px;
}

body.category .archive-header
{
display:none;
}
/*fin dans une page categorie 
 début - Dans un article*/
body.single-post .attachment-post-thumbnail
{
display : none;
}


header.entry-header h1.entry-title
{
    font-size: 1.8em;
    font-family: calibri, arial, sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    background-color: transparent;
    line-height: 31px;
    margin: 0 auto;
    padding: 7px;
    margin-bottom: 13px;
color: #046c8e;
}

header.entry-header h1.entry-title a
{
color: #046c8e;
text-decoration: none;
}

header.entry-header h1.entry-title a:hover
{
background-color: #DAE0E2;
-webkit-transition: 2s;
-moz-transition: 2s;
-ms-transition: 2s;
-o-transition: 2s;
transition: 2s;
padding: 5px;
text-decoration: none;
}

.related-posts
{
font-size: 1em;
font-family: calibri, arial, sans-serif;
font-weight: normal;
color: #046c8e;
margin-top: 20px;
border-top: 1px solid #046c8e;
max-width: 25%;
text-align:right;
margin-left: 75%;
}

.related-posts h2
{
margin-top: 2px;
margin-bottom: 10px;
}

body.single-post .related-posts a img
{
vertical-align: middle;
float: right;
margin-left: 6px;
border: none;
width: 26%;
height: auto;
}

body.single-post .related-posts  a
{
vertical-align: middle;
font-size: 12px;
color: #046c8e;
text-decoration: none;
}

body.single-post .related-posts  a:hover
{
text-decoration: underline;
color:#00afe8;
}

body.single-post .related-posts  a:hover img
{
opacity :0.8;
text-decoration: underline;
color:#00afe8;
}

/*commantaires*/

body.single-post #comments
{
margin-top:40px;
}

body.single-post #comments h2, body.single-post #comments h1
{
display: inline-block;
color: rgb(202, 191, 172);
font-family: calibri, arial, sans-serif;
font-weight: bold;
font-size: 1.2em;
margin-bottom:20px;
}

body.single-post #comments h2#title_comments_area, body.single-post #comments h1
{
color: rgb(194, 163, 109);
padding-right: 6px;
}

body.single-post #comments .commentlist img.avatar
{
float: left;
width: 44px;
height: 44px;
margin-right:10px;
margin-bottom: 4px;
}


body.single-post #comments .commentlist article  cite.fn
{
text-transform:uppercase;
color: rgb(97, 93, 93);
font-size: 1.5em;
font-family: calibri, arial, sans-serif;
}

body.single-post #comments .commentlist article  cite.fn span
{
font-weight:bold;
}

body.single-post #comments .commentlist article  header a
{
margin-left: 4px;
text-transform:uppercase;
color: rgb(97, 93, 93);
font-size: 1em;
font-family: calibri, arial, sans-serif;
text-decoration: none;
font-style:italic;
}

body.single-post #comments .commentlist article  header
{
margin-bottom:10px;
}

body.single-post #comments article .comment-content p
{
font-size: 1em;
font-family: calibri, arial, sans-serif;
}

body.single-post #comments article div.reply
{
display:none;
}

body.single-post #comments article .comment-awaiting-moderation
{
font-size: 0.75em;
font-family: calibri, arial, sans-serif;
color:rgb(138, 6, 6);
}

body.single-post #comments 
{
font-size: 0.75em;
font-family: calibri, arial, sans-serif;
}

body.single-post #comments  h3#reply-title
{
color: #046c8e;
font-size: 1.6em;
font-weight: bold;
font-family: calibri, arial, sans-serif;

}
body.single-post #comments.comment-notes, body.single-post #comments   .form-allowed-tags
{
font-size: 0.8em;
padding-bottom:10px;
max-width:430px;
color: rgb(117, 117, 117);
}

body.single-post #comments label, body.single-post #comments   input
 {
 display:block;
 }

 body.single-post #comments  label
 {
 color: rgb(95, 95, 95);
 margin-top:10px;
 }

 body.single-post #comments p.form-submit
 {
 margin-top: 10px;
 }
 
 
body.single-post #comments   p.form-submit input
{
 font-size: 14px;
background-color: #046c8e;
color: white;
font-weight: bold;
border-radius: 5px;
cursor: pointer;

}

body.single-post #comments   p.form-submit input:hover
 {
 background-color: #00afe8;
 }


/*fin des commentaires*/


/* footer */
.navigation  h3
{
color: rgb(97, 93, 93);
font-size: 0.8em;
font-family: calibri, arial, sans-serif;
font-weight: lighter;
}
.navigation .nav-previous , .navigation .nav-next 
{
margin-top:10px;
margin-left: 5px;
margin-right: 5px;
}

.navigation a
{
color: #046c8e;
font-size: 1em;
font-family: calibri, arial, sans-serif;
font-weight: bold;
}

.navigation a:hover
{
color: #00afe8;
}

/*footer pour un article*/

body.single-post nav.nav-single
{
margin-bottom:20px;
}

body.single-post nav.nav-single h3
{
color: rgb(97, 93, 93);
font-size: 0.8em;
font-family: calibri, arial, sans-serif;
font-weight: normal;
margin-bottom: 8px;
}

body.single-post nav.nav-single  .nav-previous, body.single-post nav.nav-single  .nav-next
{
margin-top: 10px;
margin-left: 5px;
margin-right: 5px;
}

body.single-post nav.nav-single .nav-previous  a , body.single-post nav.nav-single .nav-next  a
{
color: rgb(16, 182, 155);
font-size: 0.75em;
font-family: calibri, arial, sans-serif;
font-weight: bold;
}

body.single-post nav.nav-single .nav-previous  a .meta-nav , body.single-post nav.nav-single .nav-next  a .meta-nav
{
font-size:1.5em !important;
text-decoration: none !important;
}

body.single-post nav.nav-single .nav-previous  a:hover , body.single-post nav.nav-single .nav-next  a:hover
{
color: #00afe8;
}


/*footer meta*/


footer#colophon
{
text-align:center;
margin-top: 50px;
margin-left: 427px;
color: rgb(97, 93, 93);
font-size: 0.8em;
font-family: calibri, arial, sans-serif;
list-style-type:none;
}

footer#colophon h2
{
display: none;
}

footer#colophon a
{
color: rgb(97, 93, 93);
font-size: 0.8em;
font-family: calibri, arial, sans-serif;
list-style-type:none;
text-align:center;
margin:1px;
}

footer#colophon li
{
display:inline-block;

}

footer#colophon li a[title="Suivez ce site par syndication RSS 2.0"] 
{
font-size: 1em;
color: #046c8e;
margin:5px;
}


footer#colophon li a[title="Les derniers commentaires pour tous les articles, au format RSS"] 
{
font-size: 1em;
color: #046c8e;
margin:5px;
margin-left:0px;
}

footer#colophon li a[title="Suivez ce site par syndication RSS 2.0"]:hover , footer#colophon li a[title="Les derniers commentaires pour tous les articles, au format RSS"] :hover
{
color: #00afe8;
}



/* fin de footer */


/*special moyen ecran*/

@media screen and (max-width:1319px) {
	#header-right
	{
	width: 150px;
	}

#sidebar_menutop_et_bottom {
margin-right: 5.45em;
}

 }


@media screen and (max-width:1100px) {
#sidebar_menutop_et_bottom {
margin-right: 9%;
}
nav.main-navigation ul li a, aside#nav_menu-2 ul li a {
font-size: 138%;
}
nav.main-navigation ul li , aside#nav_menu-2 ul li{
margin: 16px 0;
}
aside#nav_menu-2 {
margin-top:0;
}

div.sharedaddy {
margin-left: 140px;
}

div.sharedaddy .sd-content li {
float: right  !important;
}
div.sharedaddy a.sd-button {
font-size: 11px !important;
}
div.sharedaddy .sd-content {
width: 88% !important;

}

}

@media screen and (max-width:820px) {

#sidebar_menutop_et_bottom {
margin-right: 2%;
}
}

@media screen and (max-width:700px) 
{

#header-right
{
display: none;
}

header#masthead {
margin-bottom: 0.5em;
}

nav.main-navigation ul li, aside#nav_menu-2 ul li {
margin: 7px 0;
display: inline-block;
}

nav.main-navigation ul li a {
padding-right: 10px;
}

aside#nav_menu-2 ul li a, aside#nav_menu-2 ul li#menu-item-43 a 
{
vertical-align: top;
padding-right: 10px;
padding-left: 10px;
padding-top: 2px;
padding-bottom: 2px;
opacity:0.8;
}


aside#nav_menu-2 {
margin-bottom: 20px;
}

div#primary.site-content {
margin-left: 8px;
}
div.sharedaddy {
margin-left: 0px;
width: 100% !important;
}

div#primary.site-content {
display: inline-block;
vertical-align: top;
width: 95%;
}
footer#colophon {
text-align: right;
}

body.single-post header.entry-header h1.entry-title 
{
padding: 0 5px 0px 5px
}

body.home div#page #main.wrapper section#primary.site-content,
body.category div#page #main.wrapper section#primary.site-content
{
width: 100%;
}


iframe
{
width:100%;
}


}

@media screen and (max-width:550px) 
{


article {
margin-bottom: 10%;
}

article.comment
{
margin-bottom: 6%;
}

footer#colophon {
text-align: center;
margin-left: 0px;
}

}

@media screen and (max-width:350px) 
{
#header-left
{
display:none;
}

body.single-post #comments {
margin-top: 0px;
}

header#masthead {
margin-left: 22%;
}

nav.main-navigation ul li a, aside#nav_menu-2 ul li a {
font-size: 90%;
}
nav.main-navigation ul li, aside#nav_menu-2 ul li {
margin: 3.5px 0;
}

li#menu-item-45, li#menu-item-44
{
display:none !important;
}

li#menu-item-43
{
margin-top:8px !important;
}

header.entry-header h1.entry-title {
max-width: 100%;
background-color: #046c8e;
padding: 3px;
}

div#primary.site-content {
margin-left: 0px;
}

div#primary.site-content {
width: 99%;
}

nav.main-navigation, aside#nav_menu-2  {
margin-left: 0;
}

iframe
{
width:100%;
}

.related-posts{
max-width: 75%;
margin-left: 25%;
margin-top: 10px;
}

.related-posts h2
{
margin:0;
}
body.single-post nav.nav-single {
line-height: 23px;
margin-bottom: 10px;
}

div#comments form textarea
{
width:100%;
}


body.single-post nav.nav-single .nav-previous, body.single-post nav.nav-single .nav-next {
margin-left: 0px;
}

}

@media screen and (max-width:300px) 
{
header#masthead {
margin-left: 10%;
}

}